package com.springboot.mybatis.mapper;

import com.springboot.mybatis.entity.Subject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SubjectMapper {
    //根据学生id查询课程表和关系表
    List<Subject> selectSubjectByStudentId(Integer id);
}